package com.ysd.entity;

import java.math.BigDecimal;

import com.sun.org.apache.xerces.internal.impl.dv.xs.DecimalDV;

public class Recommend {
	private Integer id;
	private String position;
	private Integer productId;
	private Integer weight;
	private Product product;
	private String name;
	private BigDecimal sellPrice;
	private String img;
	private Integer page;
	private Integer limit;
	private Integer beginPrice;
	private Integer endPrice;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weights) {
		this.weight = weights;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BigDecimal getSellPrice() {
		return sellPrice;
	}
	public void setSellPrice(BigDecimal sellPrice) {
		this.sellPrice = sellPrice;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	public Integer getBeginPrice() {
		return beginPrice;
	}
	public void setBeginPrice(Integer beginPrice) {
		this.beginPrice = beginPrice;
	}
	public Integer getEndPrice() {
		return endPrice;
	}
	public void setEndPrice(Integer endPrice) {
		this.endPrice = endPrice;
	}
	public Recommend(Integer id, String position, Integer productId, Integer weight, Product product, String name,
			BigDecimal sellPrice, String img, Integer page, Integer limit, Integer beginPrice, Integer endPrice) {
		super();
		this.id = id;
		this.position = position;
		this.productId = productId;
		this.weight = weight;
		this.product = product;
		this.name = name;
		this.sellPrice = sellPrice;
		this.img = img;
		this.page = page;
		this.limit = limit;
		this.beginPrice = beginPrice;
		this.endPrice = endPrice;
	}
	public Recommend() {
		super();
	}
	@Override
	public String toString() {
		return "Recommend [id=" + id + ", position=" + position + ", productId=" + productId + ", weight=" + weight
				+ ", product=" + product + ", name=" + name + ", sellPrice=" + sellPrice + ", img=" + img + ", page="
				+ page + ", limit=" + limit + ", beginPrice=" + beginPrice + ", endPrice=" + endPrice + "]";
	}
	
	
	
}
